
                    <p><strong>【多选题分数占比高，多选高分，单选稍微做下就能考试通过！】</strong></p> 
<p><strong>【多选题分数占比高，多选高分，单选稍微做下就能考试通过！】</strong></p> 
<p><strong>【多选题分数占比高，多选高分，单选稍微做下就能考试通过！】</strong></p> 
<p style="margin-left:0;text-align:justify;">1、在开发过程中，我们可以将每个功能模块作为一个独立的Module进行开发。关于Module，下列选项说法正确的是？（ABC）</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> A</span><span style="color:#ff0000;">、</span><strong><span style="color:#ff0000;">feature</span></strong><strong><span style="color:#ff0000;">类型的</span><span style="color:#ff0000;">Module</span></strong><span style="color:#ff0000;">：应用的动态特性模块，编译后生成</span><span style="color:#ff0000;">feature</span><span style="color:#ff0000;">类型的</span><span style="color:#ff0000;">HAP</span><span style="color:#ff0000;">。一个应用中可以包含一个或多个</span><span style="color:#ff0000;">feature</span><span style="color:#ff0000;">类型的</span><span style="color:#ff0000;">HAP</span><span style="color:#ff0000;">，也可以不包含。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ B</span><span style="color:#ff0000;">、</span><strong><span style="color:#ff0000;">Shared Library</span></strong><span style="color:#ff0000;">：动态共享库。</span><span style="color:#ff0000;">HSP</span><span style="color:#ff0000;">中的代码和资源可以独立编译，运行时在一个进程中代码也只会存在一份。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、</span><strong><span style="color:#ff0000;">Static Library</span></strong><span style="color:#ff0000;">：静态共享库。</span><span style="color:#ff0000;">HAR</span><span style="color:#ff0000;">中的代码和资源跟随使用方编译，如果有多个使用方，它们的编译产物中会存在多份相同拷贝。</span></p> 
<p style="margin-left:0;text-align:justify;">​ D、entry类型的Module：应用的主模块，包含应用的入口界面、入口图标和主功能特性，编译后生成entry类型的HAP。每一个应用分发到同一类型的设备上的应用程序包，可以包含一个或多个entry类型的HAP。<span style="color:#1552d1;">[</span><span style="color:#1552d1;">只能包含唯一一个</span><span style="color:#1552d1;">entry</span><span style="color:#1552d1;">类型的</span><span style="color:#1552d1;">HAP]</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">2、某业务团队发现用户对他们App的某个特性使用率并不高，为了节省用户首次下载安装包的体积，考虑将该特性做成按需加载，那么推荐该特性使用的工程模块类型是？（AC）</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">hap</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、app</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">hsp</span></p> 
<p style="margin-left:0;text-align:justify;">​ D、har</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">3、哪些是<span class="edu-hl hl hl-1" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{\&quot;word\&quot;:\&quot;持续部署\&quot;}&quot;}" data-tit="持续部署" data-pretit="持续部署">持续部署</span>最佳实践？（ABDG）</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> A</span><span style="color:#ff0000;">、监控和回滚机制：实时监控部署后的应用状态，如有问题及时回滚。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ B</span><span style="color:#ff0000;">、自动化部署流程：从代码提交到部署的整个流程应尽可能自动化。</span></p> 
<p style="margin-left:0;text-align:justify;">​ C、手工部署：持续部署可以采用手工部署的方式发布软件：</p> 
<p style="margin-left:0;text-align:justify;">​&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1、有一份非常详尽的文档，该文档描述了执行步骤及每个步骤中易出错的地方；</p> 
<p style="margin-left:0;text-align:justify;">​ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2、以手工测试来确认该应用程序是否运行正确；</p> 
<p style="margin-left:0;text-align:justify;">​ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3、在发布时，常常会修正一些在发布过程中发现的问题。</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">D</span><span style="color:#ff0000;">、灰度发布：先在小部分用户或区域进行部署，观察没问题后再全面推广。</span></p> 
<p style="margin-left:0;text-align:justify;">​ E、开发完成之后再向类生产环境部署：当软件被第一次部署到类生产环境（比如试运行环境）时，就是大部分开发工作完成时，至少是开发团队认为“该软件开发完成了”。</p> 
<p style="margin-left:0;text-align:justify;">​ F、手工配置管理：</p> 
<p style="margin-left:0;text-align:justify;">​&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1、直接修改生产环境上的配置来改变系统配置；</p> 
<p style="margin-left:0;text-align:justify;">​ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2、集群中各节点的行为有所不同；</p> 
<p style="margin-left:0;text-align:justify;">​ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3、靠人手工恢复环境。手动记载配置包括操作系统、应用服务器、关系型数据库管理系统、Web服务器或其他基础设施设置。</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">G</span><span style="color:#ff0000;">、环境一致性：保持开发、测试、生产等环境的高度一致性。</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">4、以下代码片段哪几处违反了ArkTS语法规范。（BCD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">class Point {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; public x: number</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; public y: number</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; constructor(x: number, y: number) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.x = x</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.y = y</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">let p = new Point(1.0, 1.0);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">delete p.x;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">p.z = 2.0;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">p.x = 'Hello!';</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">​ A、let p = new Point(1.0, 1.0);</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">delete p.x;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">p.z = 2.0;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">p.x = 'Hello!';</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">5、以下napi代码有问题的是（AB）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A.</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">static napi_value Demo(napi_env env, napi_callback_info info)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; constexpr size_t arrSize = 1000;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_value arrBuffer = nullptr;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; void *data = nullptr;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_create_arraybuffer(env, arrSize * sizeof(int32_t), &amp;data, &amp;arrBuffer);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; int32_t *i32Buffer = reinterpret_cast&lt;int32_t *&gt;(data);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; for (int i = 0; i &lt; arrSize; i++) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; i32Buffer[i] = i;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; return arrBuffer;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">static napi_value Demo(napi_env env, napi_callback_info info)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; size_t argc = 1;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_value args[1] = {nullptr};</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_get_cb_info(env, info, &amp;argc, args, nullptr, nullptr);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_value sizeObj = nullptr;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_handle_scope scope = nullptr;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_open_handle_scope(env, &amp;scope);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_call_function(env, nullptr, args[0], 0, nullptr, &amp;sizeObj);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_close_handle_scope(env, scope);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; int64_t width = 0;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_value result = nullptr;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_get_element(env, sizeObj, 0, &amp;result);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; napi_get_value_int64(env, result, &amp;width);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; return result;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">C.</p> 
<p style="margin-left:0;text-align:justify;">napi_ref g_ref = nullptr;</p> 
<p style="margin-left:0;text-align:justify;">/***** excute in main thread *****/</p> 
<p style="margin-left:0;text-align:justify;">static napi_value DemoInMainThread(napi_env env, napi_callback_info info)</p> 
<p style="margin-left:0;text-align:justify;">{</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_value string = nullptr;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_create_string_utf8(env, "bar", NAPI_AUTO_LENGTH, &amp;string);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_create_reference(env, string, 1, &amp;g_ref);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; return string;</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;">/***** excute in worker thread *****/</p> 
<p style="margin-left:0;text-align:justify;">static napi_value DemoInWorkerThread(napi_env env, napi_callback_info info)</p> 
<p style="margin-left:0;text-align:justify;">{</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_value string = nullptr;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_get_reference_value(env, g_ref, &amp;string);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_value object = nullptr;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_create_object(env, &amp;object);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_set_named_property(env, object, "foo", string);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; return object;</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">D.</p> 
<p style="margin-left:0;text-align:justify;">struct CallbackContext {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_env env = nullptr;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_ref callbackRef = nullptr;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; int32_t retData = 0;</p> 
<p style="margin-left:0;text-align:justify;">};</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">void callbackTest(CallbackContext *context)</p> 
<p style="margin-left:0;text-align:justify;">{</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; uv_loop_s *loop = nullptr;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; napi_get_uv_event_loop(context-&gt;env, &amp;loop);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; uv_work_t *work = new uv_work_t;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; context-&gt;retData = 1;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; work-&gt;data = (void *)context;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; uv_queue_work(</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; loop, work, [](uv_work_t *work) {},</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // using callback function back to JS thread</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [](uv_work_t *work, int status)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CallbackContext *context = (CallbackContext *)work-&gt;data;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; napi_value callback = nullptr;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; napi_get_reference_value(context-&gt;env, context-&gt;callbackRef, &amp;callback);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; napi_value retArg;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; napi_create_int32(context-&gt;env, context-&gt;retData, &amp;retArg);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; napi_value ret;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; napi_call_function(context-&gt;env, nullptr, callback, 1, &amp;retArg, &amp;ret);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; napi_delete_reference(context-&gt;env, context-&gt;callbackRef);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (work != nullptr) {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delete work;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delete context;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; );</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">​ A、A</p> 
<p style="margin-left:0;text-align:justify;">​ B、B</p> 
<p style="margin-left:0;text-align:justify;">​ C、C</p> 
<p style="margin-left:0;text-align:justify;">​ D、D</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">6、下面关于混淆的描述正确的是 （ACD）？？？ABCD</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、代码混淆已经被集成了到</span><span style="color:#ff0000;">SDK</span><span style="color:#ff0000;">中，可以在</span><span style="color:#ff0000;">DevEco Studio</span><span style="color:#ff0000;">中方便地使用。</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、针对工程源码的混淆可以降低工程被破解攻击的风险，缩短函数名、类名和属性名，减小应用的大小。<span style="color:#1552d1;">[</span><span style="color:#1552d1;">正确是：</span><span style="background-color:#ffffff;"><span style="color:#1552d1;">缩短代码的类与成员的名称</span></span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">API10</span><span style="color:#ff0000;">及以上版本的</span><span style="color:#ff0000;">Stage</span><span style="color:#ff0000;">模型、编译模式为</span><span style="color:#ff0000;">release</span><span style="color:#ff0000;">时，默认开启代码混淆功能；默认的混淆功能仅会混淆函数参数和局部变量的名称。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ D</span><span style="color:#ff0000;">、混淆支持</span><span style="color:#ff0000;">ArkTS/TS/JS</span><span style="color:#ff0000;">文件的混淆</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">7、下面关于方舟字节码指令含义说明正确的是（AD）</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> A</span><span style="color:#ff0000;">、假设寄存器</span><span style="color:#ff0000;">v0</span><span style="color:#ff0000;">存放了对象</span><span style="color:#ff0000;">A</span><span style="color:#ff0000;">，累加器</span><span style="color:#ff0000;">(acc)</span><span style="color:#ff0000;">存放了对象</span><span style="color:#ff0000;">B</span><span style="color:#ff0000;">，那么执行指令</span><span style="color:#ff0000;">"Ida v0"</span><span style="color:#ff0000;">后，</span><span style="color:#ff0000;">v0</span><span style="color:#ff0000;">存放对象</span><span style="color:#ff0000;">A</span><span style="color:#ff0000;">，</span><span style="color:#ff0000;">acc</span><span style="color:#ff0000;">存放对象</span><span style="color:#ff0000;">A</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、 假设寄存器v0存放了对象A，累加器(acc)存放了对象B，那么执行指令"Ida v0"后，v0存放对象B，acc存放对象B</p> 
<p style="margin-left:0;text-align:justify;">​ C、假设寄存器v0存放了对象A，寄存器v1存放了对象B，那么执行指令"mov v0,v1"后，v0存放对象A，v1存放对象A</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">D</span><span style="color:#ff0000;">、假设寄存器</span><span style="color:#ff0000;">v0</span><span style="color:#ff0000;">存放了对象</span><span style="color:#ff0000;">A</span><span style="color:#ff0000;">，寄存器</span><span style="color:#ff0000;">v1</span><span style="color:#ff0000;">存放了对象</span><span style="color:#ff0000;">B</span><span style="color:#ff0000;">，那么执行指令</span><span style="color:#ff0000;">"mov v0,v1"</span><span style="color:#ff0000;">后，</span><span style="color:#ff0000;">v0</span><span style="color:#ff0000;">存放对象</span><span style="color:#ff0000;">B</span><span style="color:#ff0000;">，</span><span style="color:#ff0000;">v1</span><span style="color:#ff0000;">存放对象</span><span style="color:#ff0000;">B</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">8、下面关于ArkTS中import用法，正确的是 （ABCD）</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">import { export1 as alias1 } from "ets file name";</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span> <span style="color:#ff0000;">B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">import defaultExport from "ets file name"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">import * as name from "ets file name"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">import { export1 } from "ets file name";</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">9、以下关于ArkTS线程实例间传输实现方式描述正确的是（BD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">import { taskpool, worker } from '@kit.ArkTS';</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">@Sendable</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">class A {}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">let a: A = new A();</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">@Concurrent</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">function foo(a: A) {}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">let task: taskpool.Task = new taskpool.Task(foo, a)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">let w = new worker.ThreadWorker("entry/ets/workers/Worker.ets")</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">taskpool.execute(task).then(() =&gt; {});</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">w.postMessageWithSharedSendable(a);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">task.setCloneList([a]);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">taskpool.execute(task).then(() =&gt; {});</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#0000ff;">w.postMessage(a);</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:left;">​ A、task.setCloneList([a]); taskpool.execute(task).then() =&gt; {});，TaskPool 共享传输实现方式 <span style="color:#1552d1;">[</span><span style="color:#1552d1;">正确的是：</span><span style="color:#1552d1;">TaskPool</span><span style="color:#1552d1;">拷贝传输实现方式</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:left;"><span style="color:#ff0000;">​ B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">taskpool.execute(task).then(() =&gt; {});</span><span style="color:#ff0000;">，</span><span style="color:#ff0000;">TaskPool </span><span style="color:#ff0000;">共享传输实现方式</span></p> 
<p style="margin-left:0;text-align:justify;">​ C、w.postMessage(a);， Worker共享传输实现方式 <span style="color:#1552d1;">[</span><span style="color:#1552d1;">正确的是：</span><span style="color:#1552d1;">Worker </span><span style="color:#1552d1;">拷贝传输实现方式</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">w.postMessageWithSharedSendable(a);</span><span style="color:#ff0000;">，</span><span style="color:#ff0000;">Worker </span><span style="color:#ff0000;">共享传输实现方式</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">10、以下代码片段哪几个函数违反了ArkTS语法规范。（AD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">function foo1(value1?: number, value2: number) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; if(value1 == undefined){<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return value2;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return value1 + value2;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">function foo2(value1: number, value2?: number) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp; if (value2 == undefined) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return value1;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp; return value1 + value2;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">function foo3(value: number, ...arrary: number[]) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp; return value;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">function foo4( ...arrary: number[], value: number) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp; return value;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">foo1</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、foo2</p> 
<p style="margin-left:0;text-align:justify;">​ C、foo3</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">foo4</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">11、在ArkTS中，以下哪些属性的声明是正确的。</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">class C {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; value1: number = 0;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; value2?: number = null;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; value3: number | undefined = undefined;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; value4?: number;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#e54c5e;"> A</span><span style="color:#e54c5e;">、</span><span style="color:#e54c5e;">value1</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#e54c5e;">​ </span>B、value2</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#e54c5e;">​ C</span><span style="color:#e54c5e;">、</span><span style="color:#e54c5e;">value3</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#e54c5e;">​ D</span><span style="color:#e54c5e;">、</span><span style="color:#e54c5e;">value4</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">12、如下ABC 3处手势，有机会执行的是哪几处?（BD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">struct ListTest {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; scroller: Scroller = new Scroller()</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; scroller2: Scroller = new Scroller()</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; scroller3: Scroller = new Scroller()</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; private arr: number[] = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; private childRecognizer: GestureRecognizer = new GestureRecognizer()</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; private currentRecognizer: GestureRecognizer = new GestureRecognizer()</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; private lastOffset: number = 0</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Stack({ alignContent: Alignment.TopStart }) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Scroll(this.scroller) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Column() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text("Scroll Area")</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('90%')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(150)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .backgroundColor(0xFFFFFF)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .borderRadius(15)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .fontSize(16)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .textAlign(TextAlign.Center)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .margin({ top: 10 })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List({ space: 20, initialIndex: 0 }) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ForEach(this.arr, (item: number) =&gt; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ListItem() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('' + item)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .fontSize(16)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .backgroundColor(Color.Blue)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .textAlign(TextAlign.Center)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .borderRadius(10)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (item: string) =&gt; item</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .listDirection(Axis.Vertical) // </span><span style="color:#1552d1;">排列方向</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .scrollBar(BarState.Off)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .friction(0.6)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .divider({<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; strokeWidth: 2,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; color: 0xFFFFF,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; startMargin: 20,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; endMargin: 20</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }) //</span><span style="color:#1552d1;">每行之间的分界线</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .edgeEffect(EdgeEffect.None) // </span><span style="color:#1552d1;">边缘效果设置为</span><span style="color:#1552d1;">Spring</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(1000)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('90%')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .id("inner")</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }.width('100%')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .id("outer")</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(600)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .scrollable(ScrollDirection.Vertical) // </span><span style="color:#1552d1;">滚动方向纵向</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .scrollBar(BarState.On) // </span><span style="color:#1552d1;">滚动条常驻显示</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .scrollBarColor(Color.Gray) // </span><span style="color:#1552d1;">滚动条颜色</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .scrollBarWidth(10) // </span><span style="color:#1552d1;">滚动条宽度</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .edgeEffect(EdgeEffect.None)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onScroll((xOffset: number, yOffset: number) =&gt; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; console.info(xOffset + ' ' + yOffset)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onScrollEdge((side: Edge) =&gt; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; console.info('To the edge')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onScrollStop(() =&gt; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; console.info('Scroll Stop')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp; A</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*</span><span style="color:#ff0000;">.gesture(</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TapGesture({ count: 2 })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onAction((event: GestureEvent) =&gt; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (event) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.value = JSON.stringify(event.fingerList[0])</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</span><span style="color:#1552d1;">*/</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //&nbsp; B</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*.gesture(</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PanGesture({PanDirection.Vertical})</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onActionUpdate((event: GestureEvent)=&gt;{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; console.log("zcb onActionUpdate event offsetY " + event.offsetY + "this.lastOffset " + this.lastOffset)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )*/</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="color:#ff0000;">//&nbsp; C</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /*.parallelGesture(</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PanGesture({PanDirection.Vertical})</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onActionUpdate((event: GestureEvent)=&gt;{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; console.log("zcb onActionUpdate event offsetY " + event.offsetY + "this.lastOffset " + this.lastOffset)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )*/</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }.width('100%').height('100%').backgroundColor(0xDCDCDC)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;">A、NA</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#e54c5e;">​&nbsp; &nbsp;B</span><span style="color:#e54c5e;">、</span><span style="color:#e54c5e;">A</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#e54c5e;">​ </span>&nbsp;&nbsp;C、B</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#e54c5e;">​&nbsp; </span>&nbsp;<span style="color:#ff0000;">D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">C</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">13</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">、</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">以下哪些实现方式可实现文本字号20的效果</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">？（</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">BCD</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">）</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">// A</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Entry</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">struct Index {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Start, justifyContent: FlexAlign.SpaceBetween }) {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('This is the text with the height adaptive policy set')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('80%')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(90)</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>.minFontSize(20) </strong></span></span><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">//</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">这个单独使用不起作用，要和maxFontSize一起才有效</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }.width('100%').height(250).padding({ left: 35, right: 35, top: 35 })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">// B</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Entry</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">struct SpanExample {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Start, justifyContent: FlexAlign.SpaceBetween }) {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text() {&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //span</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">的属性会覆盖父组件TEXT的属性</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Span('span letter spacing')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .letterSpacing(3)</span></span></p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">.fontSize(20)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }.fontSize(30)</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }.width('100%').height(250).padding({ left: 35, right: 35, top: 35 })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">// C</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Entry</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">struct Index {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Flex({ direction: FlexDirection.Column, alignItems: ItemAlign.Start, justifyContent: FlexAlign.SpaceBetween }) {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">文本水平方向对齐方式设置</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">单行文本</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('TextAlign set to Center.')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .textAlign(TextAlign.Center)</span></span></p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">.fontSize(20)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .border({ width: 1 })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .padding(10)</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }.height(600).width(350).padding({ left: 35, right: 35, top: 35 })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">// D&nbsp; --vp</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">是虚拟像素大小</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">import { LengthMetrics, LengthUnit } from '@ohos.arkui.node'</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Entry</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">struct Index {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; fontStyleAttr: TextStyle = new TextStyle({fontSize:LengthMetrics.vp(20)});</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; mutableStyledString: MutableStyledString = new MutableStyledString("hello", [{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; start: 0,</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; length: 5,</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; styledKey: StyledStringKey.FONT,</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; styledValue: this.fontStyleAttr</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }]);</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; controller: TextController = new TextController();</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; async onPageShow() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.controller.setStyledString(this.mutableStyledString)</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Column() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">显示属性字符串</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text(undefined, { controller: this.controller })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }.width('100%')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<ol><li style="text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">A</span></span></li><li style="text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">B</span></span></li><li style="text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">C</span></span></li><li style="text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">D</span></span></li></ol> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">14</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">、依次点击A、B、C、D四个按钮，其中不会触发UI刷新的是</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">？（</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">AB</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">）</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Entry</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">struct Index {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; @State count: number = 0;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; @State @Watch('onValueChange') value: number = 50;</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; onValueChange() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.count = this.value;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Column() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text(`${this.count}`)</span></span></p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style="background-color:#ffffff;"><span style="color:#ff0000;">Button("A")</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onClick(() =&gt; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.count = 0;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Button("B")</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onClick(() =&gt; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (let i = 0; i &lt; 1000; i++) {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.count = i;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for (let i = 1000; i &gt; 0; i--){<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.count = i;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.count--;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Button("C")</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onClick(() =&gt; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.value = 100;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Button("D" )</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .onClick(() =&gt; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; setInterval(()=&gt;{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.count++;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }, 1000)</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<ol><li style="text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">A</span></span></li><li style="text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">B</span></span></li><li style="text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">C</span></span></li><li style="text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">D</span></span></li></ol> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">15</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">、</span></span><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">如何实现类似下图布局</span></span></strong><strong> </strong><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">（</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">BC</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">）</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><img alt="" height="578" src="https://i-blog.csdnimg.cn/direct/24c6dfd4f03146398b9696abfcca8116.png" width="308"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nbsp;&nbsp; --Grid</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">方式不对</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Entry</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">struct Demo {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; //</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">忽略其他辅助代码</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; dataSource: ItemDataSource = new ItemDataSource(100)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; itemHeightArray: number[] = []</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; scroller: Scroller = new Scroller()</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; aboutToAppear() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.getItemSizeArray()</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Scroll() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Column() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grid() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GridItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('GoodsTypeList')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .backgroundColor(this.colors[0])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GridItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('AppletService')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .backgroundColor(this.colors[1])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GridItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('ReloadData')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .backgroundColor(this.colors[2])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .rowsGap(10)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .columnsTemplate('1fr')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .rowsTemplate('1fr 1fr 1fr')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(100)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .margin({<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; top: 10,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; left: 5,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bottom: 10,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; right: 5</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grid() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LazyForEach(this.datasource, (item: number) =&gt; {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GridItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">使用可复用自定义组件</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReusableItem({ item: item })</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(this.itemHeightArray[item % 100])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .backgroundColor(this.colors[item % 5])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }, (item: number) =&gt; '' + item + this.itemHeightArray[item % 100])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .columnsTemplate("1fr 1fr")</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .columnsGap(10)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .rowsGap(5)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .nestedScroll({<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scrollForward: NestedScrollMode.PARENT_FIRST,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scrollBackward: NestedScrollMode.SELF_FIRST</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .scrollBar(BarState.Off)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .edgeEffect(EdgeEffect.None)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Entry</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">struct Demo {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; //</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">忽略其他辅助代码</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; dataSource: ItemDataSource = new ItemDataSource(100)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; itemHeightArray: number[] = []</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; scroller: Scroller = new Scroller()</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; @State sections: WaterFlowSections = new WaterFlowSections()</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; sectionMargin: Margin = { top: 10, left: 5, bottom: 10, right: 5 }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; oneColumnSection: SectionOptions = {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; itemsCount: 3,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; crossCount: 1,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; rowsGap: 10,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; margin: this.sectionMargin,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; onGetItemMainSizeByIndex: (index: number) =&gt; {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return this.itemHeightArray[index % 100]</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; lastSection: SectionOptions = {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; itemsCount: 97,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; crossCount: 2,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; margin: this.sectionMargin,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; onGetItemMainSizeByIndex: (index: number) =&gt; {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return this.itemHeightArray[index % 100]</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; aboutToAppear() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.setItemSizeArray()</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">初始化瀑布流分组信息</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; let sectionOptions: SectionOptions[] = []</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; sectionOptions.push(this.oneColumnSection)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; sectionOptions.push(this.lastSection)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.sections.splice(0, 0, sectionOptions)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; WaterFlow({ scroller: this.scroller, sections: this.sections }) {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LazyForEach(this.dataSource, (item: number) =&gt; {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FlowItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReusableFlowItem({ item: item })</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .backgroundColor(this.colors[item % 5])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }, (item: string) =&gt; item)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .columnsGap(10)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .rowsGap(5)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .backgroundColor(0xFAEEE0)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .height('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Entry</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">struct Demo {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; //</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">忽略其他辅助代码</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; dataSource: ItemDataSource = new ItemDataSource(100)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; itemHeightArray: number[] = []</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; colors: number[] = [0xFFC0CB, 0xDA70D6, 0x6B8E23, 0x6A5ACD, 0x00FFFF, 0x00FF7F]</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; scroller: Scroller = new Scroller()</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; aboutToAppear() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.getItemSizeArray()</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Column() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; List({ scroller: this.scroller, space: 10 }) {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ListItem(){<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grid() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GridItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('GoodsTypeList')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }.backgroundColor(this.colors[0])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GridItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('AppletService')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }.backgroundColor(this.colors[1])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GridItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text('ReloadData')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }.backgroundColor(this.colors[2])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .rowsGap(10)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .columnsTemplate('1fr')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .rowsTemplate('1fr 1fr 1fr')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(100)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ListItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WaterFlow(){<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LazyForEach(this.datasource, (item: number, index: number) =&gt; {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FlowItem() {<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">使用可复用自定义组件</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ReusableItem({ item: item + index })</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(this.itemHeightArray[item % 100])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .backgroundColor(this.colors[item % 5])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }, (item: number) =&gt; '' + item + this.itemHeightArray[item % 100])</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .id('Waterflow')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .columnsTemplate("1fr 1fr")</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .columnsGap(10)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .rowsGap(5)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .nestedScroll({<!-- --></span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scrollForward: NestedScrollMode.PARENT_FIRST,</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; scrollBackward: NestedScrollMode.SELF_FIRST</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .scrollBar(BarState.Off)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .edgeEffect(EdgeEffect.None)</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .width('100%')</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .padding({ left: 10, right: 10 })</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">A</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">、</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">A</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">B</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">B</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">C</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">C</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">16</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">、Code Linter针对ArkTS/TS代码进行最佳实践/编程规范方面的检查，最佳实践/编程规范方面的检查规则可以配置，针对codelinter的配 置项一下哪些说法是正确的？（BCDE）</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">​ </span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">A</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">、rules：可以基于ruleSet配置的规则集，新增额外规则项，</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">但是无法修改ruleSet中规则默认配置 </span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">[</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#1552d1;">正确的应该是可以修改]</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">​ </span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">B</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">、files：配置待检查的文件名单，如未指定目录，规则适用于所有文件，例如: [“**/*.ets”,“**/*.js”,“**/*.ts”]。</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ C</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">、ignore：配置无需检查的文件目录，其指定的目录或文件需使用相对路径格式，相对于code-linter.json5所在工程根目录，例如：build/**/*。</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ D</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">、ruleSet：配置检查使用的规则集，规则集支持一次导入多条规则。</span></span></strong></p> 
<p style="margin-left:0;text-align:justify;"><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">E</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">、</span></span></strong><strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">overrides</span></span></strong><span style="background-color:#ffffff;"><span style="color:#ff0000;">：针对工程根目录下部分特定目录或文件，可配置定制化检查的规则。</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">17</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">、一个应用通常会包含多种功能，将不同的功能特性按模块来划分和管理是一种良好的设计方式。在开发过程中，我们可以将每个功能模块作为一个独立的Module进行开发，下面关于Module的说法正确的是 （ABCD）</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ </span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">A</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、Library类型的Module，用于实现代码和资源的共享，有两种类型，分别为Static Library和Shared Library两种类型。</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ B</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、entry类型的Module，是应用的主模块，一个应用只能包含唯一一个entry类型的HAP。</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ C</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、Ability类型的Module，用于实现应用的功能和特性，有两种类型，分别为entry和feature。</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ D</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、feature类型的Module，应用的动态特性模块，一个应用中可以包含一个或多个feature类型的模块，也可以不包</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">18</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">、在大型软件工程中，一般会伴随着多团队开发，各团队开发自己的业务模块，最后再由集成交付团队集成到一起，下面哪些是大型应用模块化开发最佳实践&nbsp; （ABCD）</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ A</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、避免用户首次下载应用耗时过长，及过多占用用户空间，不常用功能做成按需加载。</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ B</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、若多个模块依赖了不同版本的HAR，使用OHPM的overrides机制配置指定使用哪个版本的HAR，以减少包大小。</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ C</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、使用路由表进行模块间解耦。</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">​ D</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、一次上架多端部署。</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">19</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">、通过如下openLink的接口启动，如下哪些配置的UIAbility不可能被拉起（不确定，把所有选项列出）&nbsp; （ACD）</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">import { hilog } from '@kit.PerformanceAnalysisKit';</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">import { UIAbility, common, OpenLinkOptions } from '@kit.AbilityKit';</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">import { BusinessError } from '@kit.BasicServicesKit';</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export default class MyAbility extends UIAbility {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; onForeground() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; let link: string = "</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">https://www.example.com</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">"</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; let openLinkOptions: OpenLinkOptions = {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; applinkingOnly: true,</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameters: {demo_key: "demo_value"}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; };</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; try {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.context.openLink(</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; link,</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; openLinkOptions,</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (err, result) =&gt; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hilog.error(DOMAIN, TAG, 'openLink callback error.code:' + JSON.stringify(err));</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ).then(()=&gt;{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hilog.info(DOMAIN, TAG, 'open link success.');</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }).catch((err: BusinessError)=&gt;{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hilog.error(DOMAIN, TAG, 'open link failed, errCode ' + JSON.stringify(err.code));</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; })</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; catch (e) {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; hilog.error(DOMAIN, TAG, 'exception occured, errCode ' + JSON.stringify(e.code));</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">// A</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "TargetAbility",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "skills": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "actions": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "ohos.want.action.viewData",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "entities": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "entity.system.browsable",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uris": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "scheme": "http",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "host": "www.test.com",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "port": "8080",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "path": "path"</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "TargetAbility",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "skills": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "actions": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "ohos.want.action.viewData",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "entities": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "entity.system.browsable",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uris": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "scheme": "https",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "host": "www.test.com",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "port": "8080",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "path": "path",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "autoVerify": ture</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "TargetAbility",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "skills": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "actions": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "ohos.want.action.sendData",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "entities": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "entity.system.browsable",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uris": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "scheme": "http",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "host": "www.test.com",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "port": "8080",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "path": "path",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "autoVerify": ture</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "TargetAbility",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "skills": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "actions": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "ohos.want.action.SendData",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "entities": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "entity.system.browsable",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uris": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "scheme": "https",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "host": "www.test.com",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "port": "8080",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "path": "path",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "autoVerify": ture</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">A</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、A</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">B</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">、B</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">C</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、C</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">D</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、D</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">20</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">、</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">某个应用的启动框架配置文件详细信息如下，以下说法正确的是:</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">{<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; "startupTasks": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "StartupTask_001",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "srcEntry": "./ets/startup/StartupTask_001.ets",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "dependencies": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "StartupTask_002",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "StartupTask_003"</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "runOnThread": "taskpool",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "waitOnMainThread": false</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "StartupTask_002",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "srcEntry": "./ets/startup/StartupTask_002.ets",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "dependencies": [</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "StartupTask_004"</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "runOnThread": "taskpool",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "waitOnMainThread": false</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "StartupTask_003",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "srcEntry": "./ets/startup/StartupTask_003.ets",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "runOnThread": "taskpool",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "waitOnMainThread": false</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "StartupTask_004",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "srcEntry": "./ets/startup/StartupTask_004.ets",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "runOnThread": "taskpool",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "waitOnMainThread": false</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "StartupTask_005",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "srcEntry": "./ets/startup/StartupTask_005.ets",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "runOnThread": "mainThread",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "waitOnMainThread": true</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "StartupTask_006",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "srcEntry": "./ets/startup/StartupTask_006.ets",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "runOnThread": "mainThread",</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "waitOnMainThread": false,</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ”excludeFromAutoStart": true</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; "configEntry": "./ets/startup/StartupConfig.ets"</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">A</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、StartupTask_005会在主线程执行</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">B</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、StartupTask_006会在AbilityStage的onCreate前初始化完成</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">C</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、StartupTask_001会在StartupTask_004之后执行；</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">D</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">、StartupTask_003会在StartupTask_004之后执行</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">21、以下哪些方式可以实现ArkWeb同层渲染能力（AB）</p> 
<ol><li style="text-align:left;"><span style="color:#ff0000;">Web(...).enableNativeEmbedMode(true)//.registerNativeEmbedRule("embed", "native")</span></li></ol> 
<p style="margin-left:0;text-align:left;"><span style="color:#ff0000;">&lt;embed id="view" type="native/contents" width="100%" height="100%" style="background-color:red"/&gt;</span></p> 
<ol><li style="text-align:left;"><span style="color:#ff0000;">Web(...).enableNativeEmbedMode(true).registerNativeEmbedRule("object", "test")</span></li></ol> 
<p style="margin-left:0;text-align:left;"><span style="color:#ff0000;">&lt;object id="view" type="test/contents" width="100%" height="100%" style="background-color:red"/&gt;</span></p> 
<ol><li style="text-align:left;">Web(...).enableNativeEmbedMode(true)//.registerNativeEmbedRule("embed", "native")</li></ol> 
<p style="margin-left:0;text-align:left;">&lt;object id="view" type="native/contents" width="100%" height="100%" style="background-color:red"/&gt;</p> 
<ol><li style="text-align:left;">Web(...).enableNativeEmbedMode(true).registerNativeEmbedRule("native", "test")</li></ol> 
<p style="margin-left:0;text-align:left;">&lt;object id="view" type="native/contents" width="100%" height="100%" style="background-color:red"/&gt;</p> 
<p style="margin-left:0;text-align:justify;">​ &nbsp;<span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">A</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> &nbsp;B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">B</span></p> 
<ol><li style="text-align:justify;">C</li><li style="text-align:justify;">D</li></ol> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">22、用户购买商品后，你需要及时发放相关权益。但实际应用场景中，若出现异常将导致应用无法知道用户实际是否支付成功，从而无法及时发放权益，即出现掉单情况。为了确保权益发放，你需要在以下哪些场景检查用户是否存在己购未发货的商品：（ABC）</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">createPurchase</span><span style="color:#ff0000;">请求返回</span><span style="color:#ff0000;">1001860051-</span><span style="color:#ff0000;">由于已经拥有该商品，购买失败时</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">createPurchase</span><span style="color:#ff0000;">请求返回</span><span style="color:#ff0000;">1001860001-</span><span style="color:#ff0000;">内部错误时</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> C</span><span style="color:#ff0000;">、应用启动时</span></p> 
<p style="margin-left:0;text-align:justify;">​ D、finishPurchase请求返回1001860052-由于未拥有该商品，发货失败时</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">23、ArkTS对并发编程API和能力进行了增强，以下描述正确的是（BC）</p> 
<p style="margin-left:0;text-align:justify;">​ A、单次I/O任务的开发场景中， 必须使用TaskPool进行开发。</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">CPU</span><span style="color:#ff0000;">密集型任务场景中，</span> <span style="color:#ff0000;">当任务不需要长时间（</span><span style="color:#ff0000;">3</span><span style="color:#ff0000;">分钟）</span> <span style="color:#ff0000;">占据后台线程，</span> <span style="color:#ff0000;">而是一个个独立的任务时，推荐使用</span><span style="color:#ff0000;">TaskPool</span><span style="color:#ff0000;">进行开发。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> C</span><span style="color:#ff0000;">、在并发</span><span style="color:#ff0000;">API</span><span style="color:#ff0000;">的形式上，目前主要有两种：</span><span style="color:#ff0000;">Worker</span><span style="color:#ff0000;">和</span><span style="color:#ff0000;">TaskPool</span><span style="color:#ff0000;">。</span></p> 
<p style="margin-left:0;text-align:justify;">​ D、默认情况下， Sendable数据在ArkTS并发实例间（包括主线程、TaskPool&amp;Worker工作线程）传递的行为是拷贝传递。</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">24、ArkTS中不能使用以下哪些类型。（AD）</p> 
<p style="margin-left:0;text-align:justify;">​&nbsp;<span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">any</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span> B、union type</p> 
<p style="margin-left:0;text-align:justify;">​ C、tuple type</p> 
<p style="margin-left:0;text-align:justify;">​&nbsp;<span style="color:#ff0000;">D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">unknown</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">25、应用开发的有些场景中，如果希望根据条件导入模块或者按需导入模块，可以使用动态导入代替静态导入，下面导入场景中适合使用动态import的是 （ABCDE）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> A</span><span style="color:#ff0000;">、当被导入的模块，在加载时并不存在，需要异步获取。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ B</span><span style="color:#ff0000;">、当静态导入的模块很明显的占用了大量的系统内存且被使用的可能性很低。</span></p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> C</span><span style="color:#ff0000;">、当被导入的模块说明符</span><span style="color:#ff0000;">, </span><span style="color:#ff0000;">需要动态构建。</span></p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;">D</span><span style="color:#ff0000;">、当静态导入的模</span> <span style="color:#ff0000;">块很明显的降低了代码的加载速度且被使用的可能性很低</span><span style="color:#ff0000;">,</span><span style="color:#ff0000;">或者并不需要马上使用它。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">E</span><span style="color:#ff0000;">、当被导入的模块有副作用（这里的副作用，可以理解为模块中会直接运行的代码），这些副作用只有在触发了某些条件才被需要时</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">26、以下代码片段哪几个class/interface违反了ArkTS语法规范。</p> 
<p style="margin-left:0;text-align:justify;">class Person {}</p> 
<p style="margin-left:0;text-align:justify;">class Student extends Person {}</p> 
<p style="margin-left:0;text-align:justify;">class Instructor implements Person {}</p> 
<p style="margin-left:0;text-align:justify;">interface Shape {}</p> 
<p style="margin-left:0;text-align:justify;">interface Circle implements Shape {}</p> 
<p style="margin-left:0;text-align:justify;">class Square implements Shape {}</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">Instructor</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、Square</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">Circle</span></p> 
<p style="margin-left:0;text-align:justify;">​ D、Student</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">27、下面代码符合<span class="words-blog hl-git-1" data-report-view="{&quot;spm&quot;:&quot;1001.2101.3001.10283&quot;,&quot;extra&quot;:&quot;{\&quot;words\&quot;:\&quot;Node\&quot;}&quot;}" data-tit="Node" data-pretit="node">Node</span>-API开发规范的是 （AC）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A - Demo3</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">static napi_value Demo3(napi_env env, napi_callback_info info)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; size_t argc = 2;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; napi_value argv[2] = {nullptr};</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; napi_get_cb_info(env, info, &amp;argc, nullptr, nullptr, nullptr);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; //</span><span style="color:#ff0000;">业务代码</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; return nullptr;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">// B - Demo4</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">static napi_value Demo4(napi_env env, napi_callback_info info)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; size_t argc = 5;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; napi_value argv[3] = {nullptr};</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; napi_get_cb_info(env, info, &amp;argc, argv, nullptr, nullptr);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; return nullptr ;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C - Demo2</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">static napi_value Demo2(napi_env env, napi_callback_info info)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; size_t argc = 0;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; napi_get_cb_info(env, info, &amp;argc, nullptr, nullptr, nullptr);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; if (argc == 0) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; return nullptr;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; napi_value* argv = new napi_value[argc];</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; napi_get_cb_info(env, info, &amp;argc, argv, nullptr, nullptr);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; //</span><span style="color:#ff0000;">业务代码</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; delete argv;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; return nullptr;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D - Demo1</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">static napi_value Demo1(napi_env env, napi_callback_info info)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; size_t argc;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; napi_value argv[10] = {nullptr};</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; napi_get_cb_info(env, info, &amp;argc, argv, nullptr, nullptr);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; return nullptr ;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">A == Demo3</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、B</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">C == Demo2</span></p> 
<p style="margin-left:0;text-align:justify;">​ D、D</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">28、ArkTS是<span class="edu-hl hl hl-1" data-report-view="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{\&quot;word\&quot;:\&quot;鸿蒙生态\&quot;}&quot;}" data-report-click="{&quot;spm&quot;:&quot;1001.2101.3001.7020&quot;,&quot;extra&quot;:&quot;{\&quot;word\&quot;:\&quot;鸿蒙生态\&quot;}&quot;}" data-tit="鸿蒙生态" data-pretit="鸿蒙生态">鸿蒙生态</span>的应用开发语言。下列说法正确的是 （ACD）</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">ArkTS</span><span style="color:#ff0000;">在保持</span><span style="color:#ff0000;">TypeScript </span><span style="color:#ff0000;">（简称</span><span style="color:#ff0000;">TS</span><span style="color:#ff0000;">）基本语法风格的基础上，进一步通过规范强化静态检查和分析，使得在程序运行之前的开发期能检测更多错误，提升代码健壮性，并实现更好的运行性能。</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、TS/JS代码支持import ArkTS代码。</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">C</span><span style="color:#ff0000;">、针对</span><span style="color:#ff0000;">JavaScript</span><span style="color:#ff0000;">（简称</span><span style="color:#ff0000;">JS</span><span style="color:#ff0000;">）</span><span style="color:#ff0000;">/TS</span><span style="color:#ff0000;">并发能力支持有限的问题，</span><span style="color:#ff0000;">ArkTS</span><span style="color:#ff0000;">对并发编程</span><span style="color:#ff0000;">API</span><span style="color:#ff0000;">和能力进行了增强。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">ArkTS</span><span style="color:#ff0000;">提供了声明式</span><span style="color:#ff0000;">UI</span><span style="color:#ff0000;">范式、状态管理支持等相应的能力，让开发者可以以更简洁、更自然的方式开发应用</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">29、lmage组件以下哪些方式可显示图片？（ABCD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">struct ImageExample {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Column({ space: 10 }) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Image("https://www.example.com/xxx.png")</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">struct ImageExample {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Column({ space: 10 }) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Image($r('app.media.earth'))</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">import image from '@ohos.multimedia.image'</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">struct ImageExample {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; @State imagePixelMap: image.PixelMap | undefined = undefined</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; async aboutToAppear() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.app_icon'))</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Column() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Image(this.imagePixelMap)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .width(200)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .height(200)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; private async getPixmapFromMedia(resource: Resource) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bundleName: resource.bundleName,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; moduleName: resource.moduleName,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; id: resource.id</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength))</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; let createPixelMap: image.PixelMap = await imageSource.createPixelMap({<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; desiredPixelFormat: image.PixelMapFormat.RGBA_8888</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; await imageSource.release()</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; return createPixelMap</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">import { DrawableDescriptor } from '@ohos.arkui.drawableDescriptor'</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">struct ImageExample {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; private resManager = getContext().resourceManager</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Row( ) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Column() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Image((this.resManager.getDrawableDescriptor($r('app.media.drawable').id) as DrawableDescriptor))</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }.height('50%')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }.width('50%')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">A</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">B</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">C</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">D</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">30、HarmonyOS应用开发者小张，正在利用DevEco Studio进 行一款复杂应用的UI界面调试。小张了解到ArkUI Inspector是DevEco Studio内置的一项强大工具， 能够显著提升UI调试效率。基于ArkUI Inspector的特性描述，下列哪些描述是正确的 （BCD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span> A、UI快照管理：支持导出应用的UI界面为快照图片，并允许这些快照被导入回ArkUI Inspector中，便于离线分析或分享讨论UI设计方案</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> B</span><span style="color:#ff0000;">、性能监控：提供详细的</span><span style="color:#ff0000;">UI</span><span style="color:#ff0000;">渲染性能指标，帮助开发者识别布局瓶颈和渲染效率问题，从而优化应用性能</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">UI</span><span style="color:#ff0000;">效果查看：开发者能够查看连接真机上运行的应用程序的</span><span style="color:#ff0000;">UI</span><span style="color:#ff0000;">显示效果，页面组件树结构，以及选中组件的属性信息</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> D</span><span style="color:#ff0000;">、交互式组件选择：用户既可以在组件树视图中选择组件，使</span><span style="color:#ff0000;">UI</span><span style="color:#ff0000;">界面上对应组件高亮显示并展示其属性详情；也可以直接在</span><span style="color:#ff0000;">UI</span><span style="color:#ff0000;">布局显示界面上点击选择组件</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">31、使用ArkUI组件复用之后，还是没有显著提升列表滑动场景的性能，于组件复用未生效可能的原因有? （ABC）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A.&nbsp;</span><span style="color:#ff0000;">复用的自定义组件中使用了</span><span style="color:#ff0000;">if</span><span style="color:#ff0000;">等条件渲染语句导致结构不相同，未使用</span><span style="color:#ff0000;">reusetd</span><span style="color:#ff0000;">标记</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.&nbsp;</span><span style="color:#ff0000;">页面嵌套了过多自定义组件。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.&nbsp;</span><span style="color:#ff0000;">在</span><span style="color:#ff0000;">aboutToReuse</span><span style="color:#ff0000;">回调的数中更新了冗余的状态变量</span></p> 
<p style="margin-left:0;text-align:justify;">D.&nbsp;没有在aboutToReuse更新关联的状态变型数据</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">32、下面关于动态import描述正确的是（ACD）</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、动态导入</span><span style="color:#ff0000;">import()</span><span style="color:#ff0000;">是个异步接口，调用后将返回一个</span><span style="color:#ff0000;">promise</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、常量动态import也必须配置runtimeOnly选项</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> C</span><span style="color:#ff0000;">、动态</span><span style="color:#ff0000;">import</span><span style="color:#ff0000;">根据入参是否为常量字符串分为常量动态</span><span style="color:#ff0000;">import</span><span style="color:#ff0000;">和变量动态</span><span style="color:#ff0000;">import</span><span style="color:#ff0000;">两种</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​</span><span style="color:#ff0000;"> D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">HAR</span><span style="color:#ff0000;">模块间只有变量动态</span><span style="color:#ff0000;">import</span><span style="color:#ff0000;">时可以进行模块解耦</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">33、下面关于混淆规则描述正确的是（AC）</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">-disable-obfuscation</span><span style="color:#ff0000;">：关闭所有混淆</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、-enable-property-obfuscation：开启顶层作用域名称混淆<span style="color:#1552d1;">[</span><span style="color:#1552d1;">开启属性混淆</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">-enable-export-obfuscation</span><span style="color:#ff0000;">：开启直接导入或导出的类或对象的名称和属性名混淆</span></p> 
<p style="margin-left:0;text-align:justify;">​ D、-enable-toplevel-obfuscation：开启属性混淆<span style="color:#1552d1;">[</span><span style="color:#1552d1;">开启顶层作用域名称混淆</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><img alt="" height="793" src="https://i-blog.csdnimg.cn/direct/4774f1cf85b547fca9c6662b1f8594e1.png" width="927"></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">34、<span style="background-color:#ffffff;"><span style="color:#4d4d4d;">在ArkTS中，以下代码片段正确的是</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">（</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">AB</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">）</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">1.function fn(x: string | number): string {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp; return&nbsp; 'value: ' + x;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">type funcType = (ns: string) =&gt; string;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">let func: funcType = fn;</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">2.function fn(x: string | number): string {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">&nbsp; return 'value:' + x;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">type funcType = (ns: string | number) =&gt; string;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">let func: funcType = fn;</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">3.function fn(x: string): string {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; return x;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">type funcType = (ns: string| number) =&gt; string;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">let func: funcType = fn;</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">4.function fn(x: string | number): void {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; console.log('value: ' + x);</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">type funcType = (ns: string | number) =&gt; string;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">let func: funcType = fn;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">A</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">1</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#ff0000;">B</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">、</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">2</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">C</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">、</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">3</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#000000;">D</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">、</span></span><span style="background-color:#ffffff;"><span style="color:#000000;">4</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">35、以下代码片段哪几处违反了ArkTS语法规范</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">function foo(value1: number, value2: number) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; return value1 + value2; </span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">foo();</span></p> 
<p style="margin-left:0;text-align:justify;">B、foo(1, 2);</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">foo(1, 2, 3);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">foo(1, 2, 3, 4);</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">36、以下关于Taskpool和Worker的描述正确的是（AD）</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;">&nbsp;A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">Worker</span><span style="color:#ff0000;">的任务执行时长上限是无限制</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、Worker支持取消已发起的任务</p> 
<p style="margin-left:0;text-align:justify;">​ C、TaskPool不支持线程复用</p> 
<p style="margin-left:0;text-align:justify;">​&nbsp;<span style="color:#ff0000;">D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">TaskPool</span><span style="color:#ff0000;">支持设置任务的优先级</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">37、List组件onScrollIndex事件触发时机是（AB）</p> 
<p style="margin-left:0;text-align:justify;">​&nbsp;<span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">List</span><span style="color:#ff0000;">组件显示区域内第一个子组件或最后一个子组件或中间位置子组件索引值变化时触发</span></p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;">&nbsp;B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">List</span><span style="color:#ff0000;">组件首次加载完成时触发</span></p> 
<p style="margin-left:0;text-align:justify;">​ C、List组件滚动停止时触发</p> 
<p style="margin-left:0;text-align:justify;">​ D、List组件列表滚动时每帧触发</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">38、如果想让grid上的捏合手势生效，而不跟grid上的滚动手势形成冲突，. xxxx?手势接口应该怎么配置？（ACD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">Gesture</span></p> 
<p style="margin-left:0;text-align:justify;">B、GesureGroup</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">parallelGesture</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">priorityGesture</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">39、在基于Stage模型开发的应用项目代码下，都存在一个app.json5配置文件， 用于配置应用的全局信息，以下app.json5配置文件错误的是（AC）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">【</span><span style="background-color:#ffffff;"><span style="color:#ff0000;">bundleName</span></span><span style="background-color:#ffffff;"><span style="color:#ff0000;">，icon，label，versionCode，versionName不可缺省</span></span><span style="color:#ff0000;">】</span></p> 
<p style="margin-left:0;text-align:justify;">// A</p> 
<p style="margin-left:0;text-align:justify;">{</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; "app": {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "bundleName": "com.example.myapplication",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "vendor": "example",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "versionCode": 1000000,</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "versionName" : "1.0.2",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "icon": "$media:app_icon",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp; ==========================&nbsp;&nbsp;&nbsp; 【label】字段的值需要引用<span style="color:#1552d1;">[</span><span style="color:#1552d1;">要用</span><span style="color:#1552d1;">$string:app_name ]</span></p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "label": "app_name",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "bundleType": "app"</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;">// B</p> 
<p style="margin-left:0;text-align:justify;">{</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; "app": {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "bundleName": "com.example.myapplication",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "vendor": "example",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "versionCode": 1000000,</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "versionName": "1.0.2",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "icon": "$media:app_icon",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "label": "$string:app_name",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "bundleType": "app"</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;">// C</p> 
<p style="margin-left:0;text-align:justify;">{</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; "app": {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "bundleName": "com.example.myapplication",</p> 
<p style="margin-left:0;text-align:justify;">"vendor": "example",</p> 
<p style="margin-left:0;text-align:justify;">"versionCode": 1000000,</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; //&nbsp;&nbsp; ==========================&nbsp;&nbsp;&nbsp; 缺少字段【versionName】</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "icon": "$media:app_icon",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "label": "$string:app_name",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "bundleType": "app",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;">// D</p> 
<p style="margin-left:0;text-align:justify;">{</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; "app": {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "bundleName": "com.example.myapplication",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "vendor": "example",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "versionCode": 1000000,</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "versionName": "1.0.2",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "icon": "$media:app_icon",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp; "label": "$string:app_name"</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">40、使用如下的代码去启动一个ability时，哪种skills定义的组件能够被匹配到（ABCD）</p> 
<p style="margin-left:0;text-align:justify;">let want = {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uri": "https://www.test.com:8080/query/books",</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type": "text/plain"</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">context.startAbility(want).then((data))=&gt; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; console.log(TAG + "startAbility success") ;</p> 
<p style="margin-left:0;text-align:justify;">}).catch((err))=&gt; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; console.log(TAG + "startAbility failed.");</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">"skills": [</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uris":[</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "scheme": "https",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "host": "www.test.com",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type": "text/plain"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">"skills": [</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uris":[</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "scheme": "https",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "host": "www.test.com",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "pathStartWith": "query/books",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type" : "text/plain"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; ]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">"skills": [</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uris":[</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "scheme": "https",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "host": "www.test.com",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "pathStartwith" :"query/books",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type" : "text/*"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; ]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">"skills":[</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "uris":[</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "scheme": "https",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type": "text/*"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">]</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">41、以下关于Localstorage的说法正确有哪些？BCD</p> 
<p style="margin-left:0;text-align:justify;">​ A、LocalStorage中的所有属性都是不可变的。<span style="color:#1552d1;">[</span><span style="color:#1552d1;">正确答案：都是可变的</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">B</span><span style="color:#ff0000;">、被</span><span style="color:#ff0000;">@Component</span><span style="color:#ff0000;">装饰的组件最多可以访问一个</span><span style="color:#ff0000;">LocalStorage</span><span style="color:#ff0000;">实例和</span><span style="color:#ff0000;">AppStorage</span><span style="color:#ff0000;">，未被</span><span style="color:#ff0000;">@Entry</span><span style="color:#ff0000;">装饰的组件不可被独立分配</span><span style="color:#ff0000;">LocalStorage</span><span style="color:#ff0000;">实例，只能接受父组件的</span><span style="color:#ff0000;">LocalStorage</span><span style="color:#ff0000;">实例。</span><span style="color:#1552d1;">[</span><span style="color:#1552d1;">只能接受父组件通过</span><span style="color:#1552d1;">@Entry</span><span style="color:#1552d1;">传递来的</span><span style="color:#1552d1;">LocalStorage</span><span style="color:#1552d1;">实例</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、组件树的根节点，即被</span><span style="color:#ff0000;">@Entry</span><span style="color:#ff0000;">装饰的</span><span style="color:#ff0000;">@Component</span><span style="color:#ff0000;">，可以被分配一个</span><span style="color:#ff0000;">LocalStorage</span><span style="color:#ff0000;">实例，</span> <span style="color:#ff0000;">此组件的所有子组件实例将自动获得对该</span><span style="color:#ff0000;">LocalStorage</span><span style="color:#ff0000;">实例的访问权限。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ D</span><span style="color:#ff0000;">、应用程序可以创建多个</span><span style="color:#ff0000;">LocalStorage</span><span style="color:#ff0000;">实例，</span><span style="color:#ff0000;">LocalStorage</span><span style="color:#ff0000;">实例可以在页面内共享，也可以通过</span><span style="color:#ff0000;">GetShared</span><span style="color:#ff0000;">接口，获取在</span><span style="color:#ff0000;">UIAbility</span><span style="color:#ff0000;">里创建的</span><span style="color:#ff0000;">GetShared</span><span style="color:#ff0000;">，实现跨页面、</span><span style="color:#ff0000;">UIAbility</span><span style="color:#ff0000;">内共享</span> <span style="color:#ff0000;">。</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">42、在基于Stage模型开发的应用项目代码下，每个模块都存在一个module.json5配置文件，用于配置模块的基本信息，以下module.json5配置文件正确的是 （D）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">[name,type,deviceTypes,deliveryWithInstall,installationFree </span><span style="color:#ff0000;">不可缺省，</span><span style="color:#ff0000;">pages</span><span style="color:#ff0000;">在有</span><span style="color:#ff0000;">UIAbility</span><span style="color:#ff0000;">时不可缺省</span><span style="color:#ff0000;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; A&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ==&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:#1552d1;">缺少字段【</span><span style="color:#1552d1;">installationFree</span><span style="color:#1552d1;">】</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "module": {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "bName",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type":" shared",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "deviceTypes": [</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "default",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "tablet"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "deliveryWithInstall": true,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "pages": "$profile:main_pages"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; B&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ==&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:#1552d1;">缺少字段【</span><span style="color:#1552d1;">deliveryWithInstall</span><span style="color:#1552d1;">，</span><span style="color:#1552d1;">installationFree</span><span style="color:#1552d1;">】</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "module": {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "aName",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type": "har"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "deviceTypes": [</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "default", "tablet" ]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ==&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:#1552d1;">【</span><span style="color:#1552d1;">type</span><span style="color:#1552d1;">】字段不支持【</span><span style="color:#1552d1;">hsp</span><span style="color:#1552d1;">】，缺少字段【</span><span style="color:#1552d1;">installationFree</span><span style="color:#1552d1;">】</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "module": {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; "name": "cName",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type": "hsp",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "description": "$string:desc",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "deviceTypes": [</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "default",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "tablet"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "deliveryWithInstal1": true,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "pages": "$profile:main_pages"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; D</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "module": {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "application",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "type": "feature",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "description": "$string:module_desc",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "mainElement": "ApplicationAbility",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "deviceTypes": [</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "default",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "tablet"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "deliverywithInstall": true,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "installationFree": false,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "pages": "$profile:main_pages",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "abilities": [</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "name": "ApplicationAbility",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "srcEntry": "./ets/applicationability/ApplicationAbility.ets", </span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "description": "$string:ApplicationAbility_desc",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "icon": "$media:icon",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "label": "$string:ApplicationAbility_label",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "startwindowIcon": "$media:startIcon",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "startWindowBackground": "$color:start_window_background",</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "exported": true</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<ol><li style="text-align:justify;">A</li><li style="text-align:justify;">B</li><li style="text-align:justify;">C</li><li style="text-align:justify;"><span style="color:#ff0000;">D</span></li></ol> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">43、hiAppEvent提供的Watcher接口，订阅到的系统事件，哪些包含HiLog日志？（ABCD）</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">CPU</span><span style="color:#ff0000;">高负载事件</span></p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> B</span><span style="color:#ff0000;">、启动耗时事件</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​&nbsp;C</span><span style="color:#ff0000;">、卡死事件</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​&nbsp;D</span><span style="color:#ff0000;">、崩溃事件</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">44、当前动态import支持导入的模块类型有哪些？（ABCD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​&nbsp;A</span><span style="color:#ff0000;">、动态</span><span style="color:#ff0000;">import</span><span style="color:#ff0000;">支持加载</span><span style="color:#ff0000;">OHPM</span><span style="color:#ff0000;">模块</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​&nbsp;B</span><span style="color:#ff0000;">、动态</span><span style="color:#ff0000;">import</span><span style="color:#ff0000;">支持加载本地</span><span style="color:#ff0000;">HAR</span><span style="color:#ff0000;">模块</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​&nbsp;C</span><span style="color:#ff0000;">、动态</span><span style="color:#ff0000;">import</span><span style="color:#ff0000;">支持加载</span><span style="color:#ff0000;">HSP</span><span style="color:#ff0000;">模块</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​&nbsp;D</span><span style="color:#ff0000;">、动态</span><span style="color:#ff0000;">import</span><span style="color:#ff0000;">支持加载远程</span><span style="color:#ff0000;">HAR</span><span style="color:#ff0000;">模块</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">45、ArkTS是鸿蒙生态的应用开发语言。以下哪些选项是ArkTS的设计理念。(ABD)</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> A</span><span style="color:#ff0000;">、通过规范强化静态检查和分析，减少运行时的类型检查，从而降低了运行时负载，提升执行性能。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ B</span><span style="color:#ff0000;">、通过规范强化静态检查和分析，</span> <span style="color:#ff0000;">使得许多错误在编译时可以被检测出来，降低代码运行错误的风险。</span></p> 
<p style="margin-left:0;text-align:justify;">​ C、ArkTS不支持null-satety特性 。</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">ArkTS</span><span style="color:#ff0000;">保留</span> <span style="color:#ff0000;">了</span><span style="color:#ff0000;">TS</span><span style="color:#ff0000;">大部分的语法特性，帮助开发者更容易上手</span><span style="color:#ff0000;">ArkTS</span><span style="color:#ff0000;">。</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">46</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">、以下代码片段哪几处违反了ArkTS语法规范</span></span>&nbsp; <span style="background-color:#ffffff;"><span style="color:#4d4d4d;">（</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">ABC</span></span><span style="background-color:#ffffff;"><span style="color:#4d4d4d;">）</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">function foo(value: number) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">&nbsp; return value;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">foo('');</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">foo(0);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">foo(undefined);</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">foo(null);</span></p> 
<p style="margin-left:0;text-align:left;"><span style="color:#ff0000;">A. foo(null);</span></p> 
<p style="margin-left:0;text-align:left;"><span style="color:#ff0000;">​&nbsp;&nbsp; B. foo(undefined);</span></p> 
<p style="margin-left:0;text-align:left;"><span style="color:#ff0000;">​&nbsp;&nbsp; C. foo(");</span></p> 
<p style="margin-left:0;text-align:left;">​ &nbsp;D.foo(0);</p> 
<p style="margin-left:0;text-align:left;"></p> 
<p style="margin-left:0;text-align:justify;">*47、以下哪些是可以在Navigation中使用pushPathByName接口传递的params的参数类型（ACD）</p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">arrayBuffer</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、map&lt;string,string&gt;</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">record&lt;string,string&gt;</span></p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">string</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">48、HSP支持导出ArkUl组件、接口，供应用内的其他HAP/HSP引用，下面正确的是 （ABC）</p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp;&nbsp; A</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp; library/src/main/ets/components/MyTitleBar.ets</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">@Component</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export struct MyTitleBar {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; build() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; Row() {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Text($r('app.string.library_title' ))</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .id('library')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .fontFamily('HarmonyHeiTi')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .fontWeight(FontWeight.Bold)</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .fontSize(32)</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .fontColor($r('app.color.text_color'))</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; .width('100%')</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp;&nbsp; </span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">对外暴露的接口，需要在入口文件</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">index.ets</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">中声明</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">:</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp;&nbsp; library/index.ets</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export { MyTitleBar } from './src/main/ets/components/MyTitleBar';</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp;&nbsp; B</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp; library/src/main/ets/utils/nativeTest.ts</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">import native from 'liblibrary.so';</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export function nativeMulti(a: number, b: number): number {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; let result: number = native.multi(a, b);</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; return result;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp; </span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">对外暴露的接口，需要在入口文件</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">index.ets</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">中声明</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">:</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp; library/index.ets</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export { nativeMulti } from './ src/main/ets/utils/nativeTest';</span></span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp; C</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp; library/src/main/ets/utils/test.ts</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export class Log {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; static info(msg: string): void {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp;&nbsp;&nbsp; console.info(msg);</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; }</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export function add(a: number, b: number): number {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; return a + b;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export function minus(a: number, b: number): number {<!-- --></span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">&nbsp; return a - b;</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">}</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp; </span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">对外暴露的接口，需要在入口文件</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">index.ets</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">中声明</span></span><span style="background-color:#ffffff;"><span style="color:#1552d1;">:</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">//&nbsp; library/index.ets</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="background-color:#ffffff;"><span style="color:#1552d1;">export { Log, add, minus } from './src/main/ets/utils/test';</span></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A</span><span style="color:#ff0000;">、导出</span><span style="color:#ff0000;">ArkUI</span><span style="color:#ff0000;">组件</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​&nbsp;B</span><span style="color:#ff0000;">、导出</span><span style="color:#ff0000;">native</span><span style="color:#ff0000;">方法，在</span><span style="color:#ff0000;">HSP</span><span style="color:#ff0000;">中也可以包含</span><span style="color:#ff0000;">C++</span><span style="color:#ff0000;">编写的</span><span style="color:#ff0000;">so</span><span style="color:#ff0000;">。对于</span><span style="color:#ff0000;">so</span><span style="color:#ff0000;">中的</span><span style="color:#ff0000;">native</span><span style="color:#ff0000;">方法，</span><span style="color:#ff0000;">HSP</span><span style="color:#ff0000;">通过间接的方式导出，以导出</span><span style="color:#ff0000;">liblibrary.so</span><span style="color:#ff0000;">的乘法接口</span><span style="color:#ff0000;">multi</span><span style="color:#ff0000;">为例</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​&nbsp;C</span><span style="color:#ff0000;">、导出</span><span style="color:#ff0000;">ts</span><span style="color:#ff0000;">类和方法</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">49、下面关于方舟字节码文件格式描述正确的是 （CD）</p> 
<p style="margin-left:0;text-align:justify;">​ A、方舟字节码文件中数据类型uint32_t表示32-bit无符号整数，采用大端字节序<span style="color:#1552d1;">[</span><span style="color:#1552d1;">正确是：采用小端字节序</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;">​ B、方舟字节码文件中不包含字节码文件内容的adler32校验和<span style="color:#1552d1;">[Header</span><span style="color:#1552d1;">结构中存在</span><span style="color:#1552d1;">checksum</span><span style="color:#1552d1;">：字节码文件除文件头魔数和本校验字段之外的内容的</span><span style="color:#1552d1;">adler32</span><span style="color:#1552d1;">校验和</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;">​ <span style="color:#ff0000;">C</span><span style="color:#ff0000;">、方舟字节码文件是</span><span style="color:#ff0000;">ArkTS/TS/JS</span><span style="color:#ff0000;">编译后的二进制产物</span></p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> D</span><span style="color:#ff0000;">、方舟字节码文件中数据类型</span><span style="color:#ff0000;">uint16_t</span><span style="color:#ff0000;">表示</span><span style="color:#ff0000;">16-bit</span><span style="color:#ff0000;">无符号整数，采用小端字节序</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">50、在开发HarmonyOS应用的多元化测试环境中，DevEco Studio引入了本地模拟器(Local Emulator)作为重要工具，旨在帮助开发者在个人开发机器上高效模拟HarmonyOS环境，进行应用或服务的快速运行与细致调试。请根据本地模拟器的实际应用场景与系统要求，选出所有正确的描述选项 （BCD）</p> 
<p style="margin-left:0;text-align:justify;">​ A、开发者需要注意的是，DevEco Studio的本地模拟器可以在<span class="words-blog hl-git-1" data-report-view="{&quot;spm&quot;:&quot;1001.2101.3001.10283&quot;,&quot;extra&quot;:&quot;{\&quot;words\&quot;:\&quot;虚拟机\&quot;}&quot;}" data-tit="虚拟机" data-pretit="虚拟机">虚拟机</span>内部进一步运行，以节省硬件资源。</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> B</span><span style="color:#ff0000;">、为了保证流畅的运行和调试体验，本地模拟器推荐</span><span style="color:#ff0000;">macOS</span><span style="color:#ff0000;">系统版本至少为</span><span style="color:#ff0000;">12.5</span><span style="color:#ff0000;">以上。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">DevEco Studio</span><span style="color:#ff0000;">的本地模拟器允许开发者在个人电脑上模拟</span><span style="color:#ff0000;">HarmonyOS</span><span style="color:#ff0000;">环境，便于应用或服务的运行与调试。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">mac</span><span style="color:#ff0000;">计算机配置方面，为了确保本地模拟器的稳定运行，推荐至少配备</span><span style="color:#ff0000;">8GB RAM</span><span style="color:#ff0000;">。</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">51、为了加快构建速度，提高开发效率，可以如何调整hvigor配置，从而优化构建速度 （ABC）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A.</span><span style="color:#ff0000;">启用</span><span style="color:#ff0000;">hvigor</span><span style="color:#ff0000;">的</span><span style="color:#ff0000;">parallel</span><span style="color:#ff0000;">，在增量场景下进行并行编译处理</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.</span><span style="color:#ff0000;">启动</span><span style="color:#ff0000;">hvigor</span><span style="color:#ff0000;">的</span><span style="color:#ff0000;">daemon</span><span style="color:#ff0000;">模式，在增量场景下复用缓存</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.</span><span style="color:#ff0000;">启用</span><span style="color:#ff0000;">hvigor</span><span style="color:#ff0000;">的</span><span style="color:#ff0000;">incremental</span><span style="color:#ff0000;">，在增量场景下检查任务是否可以跳过</span></p> 
<p style="margin-left:0;text-align:justify;">D.启用hvigor的typeCheck，在增量场景下进行对hvigorfile.ts进行类型检查</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">52、<span class="words-blog hl-git-1" data-report-view="{&quot;spm&quot;:&quot;1001.2101.3001.10283&quot;,&quot;extra&quot;:&quot;{\&quot;words\&quot;:\&quot;Image\&quot;}&quot;}" data-tit="Image" data-pretit="image">Image</span>组件以下哪些方式可显示图片？（ABCD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A.</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">struct ImageExample {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; Column({ space: 10 }) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; Image("https://www.example.com/xxx.png")</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; &nbsp; .width(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; &nbsp; .height(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">struct ImageExample {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; Column({ space: 10 }) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; Image($r('app.media.earth'))</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; &nbsp; .width(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; &nbsp; .height(100)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">import { DrawableDescriptor } from '@ohos.arkui.drawableDescriptor'</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">struct ImageExample {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; private resManager = getContext().resourceManager</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; Row() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; Column() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; &nbsp; Image((this.resManager.getDrawableDescriptor($r('app.media.drawable').id) as DrawableDescriptor))</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; }.height('50%')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; }.width('50%')</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D.</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">import image from '@ohos.multimedia.image'</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">@Entry</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">@Component</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">struct ImageExample {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; @State imagePixelMap: image.PixelMap | undefined = undefined</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; async aboutToAppear() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; this.imagePixelMap = await this.getPixmapFromMedia($r('app.media.app_icon'))</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; build() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; Column() {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; Image(this.imagePixelMap)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; &nbsp; .width(200)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; &nbsp; .height(200)</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; private async getPixmapFromMedia(resource: Resource) {<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; bundleName: resource.bundleName,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; moduleName: resource.moduleName,</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; id: resource.id</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength))</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; let createPixelMap: image.PixelMap = await imageSource.createPixelMap({<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; &nbsp; desiredPixelFormat: image.PixelMapFormat.RGBA_8888</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; })</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; await imageSource.release()</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; &nbsp; return createPixelMap</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp; }</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">53、以下数据类型中，哪些是Sendable数据？（BCD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">import { lang } from '@kit.ArkTS';</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">class C {}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#1552d1;">interface I extends lang.ISendable {}</span></p> 
<p style="margin-left:0;text-align:justify;">A.class C</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.string</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.number</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D.interface I</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">54、下面关于混淆的描述正确的是 （BC）</p> 
<p style="margin-left:0;text-align:justify;">A.在工程build-profile.json5中的obfuscation.ruleOptions.files字段中配置该工程的混淆配置，该配置仅在编译该工程时生效。</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.</span><span style="color:#ff0000;">支持顶层作用域名称、属性名称、文件名称等多种混淆功能</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.</span><span style="color:#ff0000;">修改应用混淆配置，新配置需要重新全量编译应用才能生效</span></p> 
<p style="margin-left:0;text-align:justify;">D.可以在HAR模块工程的build-profile.json5中的obfuscation.consumerFiles字段中配置导出的混淆配置，该配置仅在编译依赖该HAR的模块时生效。</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">55、哪些是持续集成最佳实践？（ABCDE）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A.</span><span style="color:#ff0000;">全面的测试套件：包括单元测试、集成测试、功能测试等，以提高代码质量。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.</span><span style="color:#ff0000;">快速反馈机制：让开发人员能迅速得知集成结果和测试状态。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.</span><span style="color:#ff0000;">频繁提交代码：鼓励开发人员经常提交小的代码更改，以便更快地发现问题。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D.</span><span style="color:#ff0000;">自动化构建：确保构建过程是完全自动化的，减少人为错误。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">E.</span><span style="color:#ff0000;">代码审查：在集成前进行代码审查，及时发现潜在问题。</span></p> 
<p style="margin-left:0;text-align:justify;">F.构建相同代码的 Pipeline 运行多次，得到结果不同。比如，基于同一代码基线，一条 Pipeline 构建了 5 次，只要最后一次通过即可。</p> 
<p style="margin-left:0;text-align:justify;">G.通常项目上会有一个专职 Ops，在项目可以发布的时候手动触发部署流程，或者需要传递很多参数，让 Pipeline 运行起来。</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">56、Navigation组件是路由导航的根视图容器，一般作为Page页面的根容器使用，以下关于Navigation组件说法正确的是 （BC）</p> 
<p style="margin-left:0;text-align:justify;">A.Navigation子页面的根容器可以采用如Column、Row这些容器组件。</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.Navigation</span><span style="color:#ff0000;">的子页面可以来自不同的</span><span style="color:#ff0000;">Module</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.Navigation</span><span style="color:#ff0000;">的页面显示模式有单页面、分栏和自适应三种显示模式</span></p> 
<p style="margin-left:0;text-align:justify;">D.Navigation只能在entry类型的Module中使用</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0cm;">57、处于安全因素考虑，ArkTS不支持以下哪些语法。（BCD）<span style="color:#ffffff;">B</span><span style="color:#ffffff;">CD</span></p> 
<p style="margin-left:21pt;">A.Object.entries()</p> 
<p style="margin-left:21pt;"><span style="color:#ff0000;">B.eval()</span></p> 
<p style="margin-left:21pt;"><span style="color:#ff0000;">C.with()</span></p> 
<p style="margin-left:21pt;"><span style="color:#ff0000;">D.new Function('a', 'b', 'return a + b')</span></p> 
<p style="margin-left:21pt;"></p> 
<p style="margin-left:0;text-align:justify;">58、如下哪些方式可实现图片动态播放？（ACD）</p> 
<p style="margin-left:0;text-align:justify;">A.</p> 
<p style="margin-left:0;text-align:justify;">import {AnimationOptions, AnimatedDrawableDescriptor} from '@ohos.arkui.drawableDescriptor'</p> 
<p style="margin-left:0;text-align:justify;">import image from '@ohos.multimedia.image'</p> 
<p style="margin-left:0;text-align:justify;">@Entry</p> 
<p style="margin-left:0;text-align:justify;">@Component</p> 
<p style="margin-left:0;text-align:justify;">struct ImageExample {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; pixelmaps: Array&lt;PixelMap&gt;&nbsp; = [];</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; options: AnimationOptions = {duration:2000, iterations:1};</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; @State animated: AnimatedDrawableDescriptor | undefined = undefined;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; async aboutToAppear() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; this.pixelmaps = await this.getPixelMaps();</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; this.animated = new AnimatedDrawableDescriptor(this.pixelmaps, this.options);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; build() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; Column() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; Row() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; Image(this.animated)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .width('500px').height('280px')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; }.height('50%')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; Row() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; Button('once').width(100).padding(5).onClick(() =&gt; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.options = {duration:2000, iterations:1};</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.animated = new AnimatedDrawableDescriptor(this.pixelmaps, this.options);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; }).margin(5)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; }.width('50%')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; private async getPixmapListFromMedia(resource: Resource) {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; bundleName: resource.bundleName,</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; moduleName: resource.moduleName,</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; id: resource.id</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; })</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength))</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; let createPixelMap: Array&lt;image.PixelMap&gt; = await imageSource.createPixelMapList({</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; desiredPixelFormat: image.PixelMapFormat.RGBA_8888</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; })</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; await imageSource.release()</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; return createPixelMap</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; private async getPixelMaps() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; let Mypixelmaps:Array&lt;PixelMap&gt; = await this.getPixmapListFromMedia($r('app.media.icon'))//对应资源图片名后缀为gif</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; return Mypixelmaps;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">B.</p> 
<p style="margin-left:0;text-align:justify;">import {AnimationOptions, AnimatedDrawableDescriptor} from '@ohos.arkui.drawableDescriptor'</p> 
<p style="margin-left:0;text-align:justify;">import image from '@ohos.multimedia.image'</p> 
<p style="margin-left:0;text-align:justify;">@Entry</p> 
<p style="margin-left:0;text-align:justify;">@Component</p> 
<p style="margin-left:0;text-align:justify;">struct ImageExample {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; pixelmaps: Array&lt;PixelMap&gt;&nbsp; = [];</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; options: AnimationOptions = {duration:2000, iterations:1};</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; @State animated: AnimatedDrawableDescriptor | undefined = undefined;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; async aboutToAppear() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; this.pixelmaps = await this.getPixelMaps();</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; this.animated = new AnimatedDrawableDescriptor(this.pixelmaps, this.options);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; build() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; Column() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; Row() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; Image(this.animated)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .width('500px').height('280px')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; }.height('50%')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; Row() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; Button('once').width(100).padding(5).onClick(() =&gt; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.options = {duration:2000, iterations:1};</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; this.animated = new AnimatedDrawableDescriptor(this.pixelmaps, this.options);</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; }).margin(5)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; }.width('50%')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; private async getPixmapFromMedia(resource: Resource) {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; let unit8Array = await getContext(this)?.resourceManager?.getMediaContent({</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; bundleName: resource.bundleName,</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; moduleName: resource.moduleName,</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; id: resource.id</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; })</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; let imageSource = image.createImageSource(unit8Array.buffer.slice(0, unit8Array.buffer.byteLength))</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; let createPixelMap: image.PixelMap = await imageSource.createPixelMap({</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; desiredPixelFormat: image.PixelMapFormat.RGBA_8888</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; })</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; await imageSource.release()</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; return createPixelMap</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; private async getPixelMaps() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; Mypixelmaps.push(await this.getPixmapFromMedia($r('app.media.icon'))) //对应资源图片名后缀为png</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; return Mypixelmaps;</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">C.</p> 
<p style="margin-left:0;text-align:justify;">@Entry</p> 
<p style="margin-left:0;text-align:justify;">@Component</p> 
<p style="margin-left:0;text-align:justify;">struct ImageExample {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; build() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; Column({ space: 10 }) {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; Image($r('app.media.earth')) //对应资源图片名后缀为gif</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; .width(100)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; .height(100)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">D.</p> 
<p style="margin-left:0;text-align:justify;">@Entry</p> 
<p style="margin-left:0;text-align:justify;">@Component</p> 
<p style="margin-left:0;text-align:justify;">struct ImageAnimatorExample {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; @State iterations: number = 1</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; build() {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; Column({ space: 10 }) {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; ImageAnimator()</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; .images([</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src: $r('app.media.img1')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src: $r('app.media.img2')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src: $r('app.media.img3')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; },</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; src: $r('app.media.img4')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; ])</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; .duration(2000)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; .fillMode(FillMode.None).iterations(this.iterations).width(340).height(240)</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; &nbsp; &nbsp; .margin({ top: 100 })</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; &nbsp; }.width('100%').height('100%')</p> 
<p style="margin-left:0;text-align:justify;">&nbsp; }</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0cm;"></p> 
<p style="margin-left:0;text-align:justify;">59、开发者小李正在使用DevEco Studio开发一款面向HarmonyOS的应用，该应用需要在多种设备上表现出一致的稳定性和优秀的用户体验。为了确保高质量的发布，小李意识到需要实施一套全面的测试策略，覆盖代码的自动化测试和手动测试，还需要衡量代码的测试覆盖率，以确定测试的充分性。在DevEco Studio的测试框架下，以下描述中，哪些是正确的？（ABCD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A.</span><span style="color:#ff0000;">无论选择</span><span style="color:#ff0000;">Instrument Test</span><span style="color:#ff0000;">还是</span><span style="color:#ff0000;">Local Test</span><span style="color:#ff0000;">，</span><span style="color:#ff0000;">DevEco Studio</span><span style="color:#ff0000;">均内置了详尽的测试报告功能，实时显示测试进度，且直接在</span><span style="color:#ff0000;">IDE</span><span style="color:#ff0000;">中可查看代码覆盖率报告，无需外部工具。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B.Local Test</span><span style="color:#ff0000;">：测试用例位于</span><span style="color:#ff0000;">test</span><span style="color:#ff0000;">目录，无需设备或模拟器环境，直接在本地执行，专注于</span><span style="color:#ff0000;">ArkTS</span><span style="color:#ff0000;">语言，推荐适用于</span><span style="color:#ff0000;">API</span><span style="color:#ff0000;">版本</span><span style="color:#ff0000;">11</span><span style="color:#ff0000;">及以上的</span><span style="color:#ff0000;">Hvigor</span><span style="color:#ff0000;">工程，目前特别限于</span><span style="color:#ff0000;">Stage</span><span style="color:#ff0000;">模型，并不涵盖</span><span style="color:#ff0000;">C/C++</span><span style="color:#ff0000;">方法。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.DevEco Studio</span><span style="color:#ff0000;">的测试框架提供测试用例执行能力，包含基础接口以编写和输出测试结果，鼓励用户创建易于维护的自动化测试脚本，并且统计代码覆盖率。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D.Instrument Test</span><span style="color:#ff0000;">：测试用例存储于项目的</span><span style="color:#ff0000;">ohosTest</span><span style="color:#ff0000;">目录，要求在</span><span style="color:#ff0000;">HarmonyOS</span><span style="color:#ff0000;">设备或模拟器上执行，兼容</span><span style="color:#ff0000;">ArkTS</span><span style="color:#ff0000;">与</span><span style="color:#ff0000;">JS</span><span style="color:#ff0000;">语言编写。</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">60、在使用DevEco Studio进行HarmonyOS应用开发和调试过程中，开发者小张遇到应用运行时意外终止的情况，他需要快速定位并解决导致应用崩溃的问题。以下哪些做法可以帮助小张有效分析和处理这些问题？（ABCD）</p> 
<p style="margin-left:0;text-align:justify;">A. 利用系统自动生成的FaultLog，包括App Freeze、CPP Crash、JS Crash、System Freeze和ASan报告，这些报告会详细记录故障发生时的环境、堆栈信息和可能的故障原因，是排查问题的重要参考</p> 
<p style="margin-left:0;text-align:justify;">B. 当怀疑问题是由于C++代码中的内存错误（如数组越界、内存泄露、重复释放内存）引起时，进入“Run/Debug Configurations”设置界面，勾选启用Address Sanitizer（ASan），然后重新部署应用进行测试以获取更详细的内存问题报告</p> 
<p style="margin-left:0;text-align:justify;">C. 查看DevEco Studio log工具栏输出的错误日志，根据日志提示分析应用崩溃的具体原因及代码位置</p> 
<p style="margin-left:0;text-align:justify;">D. 若遇到App运行卡顿或系统整体无响应（App Freeze、System Freeze）的情况，可以通过性能分析工具中的Frame Insights和Allocation Insights功能，分析应用的资源消耗情况，寻找可能的瓶颈</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">61、下面关于混淆规则描述正确的是（ACEFG）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A. -print-namecache filepath: </span><span style="color:#ff0000;">将名称缓存保存到指定的文件路径。</span></p> 
<p style="margin-left:0;text-align:justify;">B. -keep-property-name [,identifiers,..]:指定要保留的顶层作用域的名称<span style="color:#1552d1;">[</span><span style="background-color:#ffffff;"><span style="color:#1552d1;">指定想保留的属性名，支持使用名称类通配符</span></span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C. -keep-file-name [,identifiers...]:</span><span style="color:#ff0000;">指定要保留的文件</span><span style="color:#ff0000;">/</span><span style="color:#ff0000;">文件夹的名称，支持使用名称类通配符</span></p> 
<p style="margin-left:0;text-align:justify;">D. -keep-global-name [,identifiers....]:指定想保留的属性名<span style="color:#1552d1;">[</span><span style="background-color:#ffffff;"><span style="color:#1552d1;">指定要保留的顶层作用域的名称，支持使用名称类通配符</span></span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">E. </span><span style="color:#ff0000;">-keep-comments [,identifiers,...]</span><span style="color:#ff0000;">保留声明文件中元素上方的</span><span style="color:#ff0000;">JsDoc</span><span style="color:#ff0000;">注释，支持使用名称类通配符。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">F. -keep-dts filepath</span><span style="color:#ff0000;">保留指定路径的</span><span style="color:#ff0000;">.d.ts</span><span style="color:#ff0000;">文件中的名称。</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">G. -keep path</span><span style="color:#ff0000;">保留指定路径中的所有名称（例如变量名、类名、属性名等）不被混淆。</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">62、以下数据类型中，哪些是Sendable数据？（BCD）</p> 
<p style="margin-left:0;text-align:justify;">Import { lang }&nbsp; from&nbsp; <a href="mailto:%E2%80%98@kit.ArkTS%E2%80%99;" rel="nofollow">‘@kit.ArkTS’;</a></p> 
<p style="margin-left:0;text-align:justify;">class C {}</p> 
<p style="margin-left:0;text-align:justify;">Interface I extends lang.ISendable {}</p> 
<ol><li style="text-align:justify;">class C</li><li style="text-align:justify;"><span style="color:#ff0000;">number</span></li><li style="text-align:justify;"><span style="color:#ff0000;">Interface I</span></li><li style="text-align:justify;"><span style="color:#ff0000;">String</span></li></ol> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">63、下面关于ArkTS中export用法，正确的是 （ABCD）</p> 
<p style="margin-left:0;text-align:justify;">​<span style="color:#ff0000;"> A</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">export { export1 as alias1 } from "ets file name";</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ B</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">export * from "ets file name"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ C</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">export * as name from "ets file name"</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">​ D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">export { export1 } from "ets file name";</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">64、Row父容器宽度100，其中子组件X设置了layoutWeight(3)和width('20%')，子组件Y设置了layoutWeight(2)和width('30%')，会出现什么样的效果？ （C）[<span style="color:#1552d1;">按照权重</span><span style="color:#1552d1;">3:2</span><span style="color:#1552d1;">分配，自适应占满空间</span><span style="color:#1552d1;">]</span></p> 
<p style="margin-left:0;text-align:justify;">A. 子组件X宽度20，子组件Y宽度30</p> 
<p style="margin-left:0;text-align:justify;">B. 子组件X宽度40，子组件Y宽度60</p> 
<p style="margin-left:0;text-align:justify;">C. 子组件X宽度60，子组件Y宽度40</p> 
<p style="margin-left:0;text-align:justify;">D. 子组件X宽度30，子组件Y宽度20</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">65、以下哪个是系统资源的引用方式？（A）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A. </span><span style="color:#ff0000;">使用</span><span style="color:#ff0000;">$r('sys.type.resource_id')</span></p> 
<p style="margin-left:0;text-align:justify;">B. 使用$r('app.type.name')</p> 
<p style="margin-left:0;text-align:justify;">C. 使用$sys('type.resource_id')</p> 
<p style="margin-left:0;text-align:justify;">D. 使用$app('type.name')</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">66、下面代码符合ArkTS编程规范的是: （CD）</p> 
<p style="margin-left:0;text-align:justify;">A. for(let idx = 0; idx &lt; 5 ; ++idx)</p> 
<p style="margin-left:0;text-align:justify;">console.log(idx)</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">B.&nbsp; let maxCount =10,isCompleted =false;</p> 
<p style="margin-left:0;text-align:justify;">let pointx,pointy;</p> 
<p style="margin-left:0;text-align:justify;">pointx=10;pointy=0;</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C. If(condition){ console.log(‘success’) }</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D.&nbsp; let maxCount =10;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">let isCompleted = false;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">let pointx =0;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">let pointy =0;</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">67、Harmonyos应用开发者小张，正在利用DevEcostudio进行一款复杂应用的UI界面调试。小张了解到ArkUI Inspector是DevEco studio内置的一项强大工具，能够显著提升UI调试效率。</p> 
<p style="margin-left:0;text-align:justify;">基于ArkUIInspector的特性描述，下列哪些描述是正确的？(ACD)</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A.</span><span style="color:#ff0000;">交互式组件选择</span><span style="color:#ff0000;">:</span><span style="color:#ff0000;">用户既可以在组件树视图中选择组件，使</span><span style="color:#ff0000;">U</span><span style="color:#ff0000;">界面上对应组件高亮显示并展示其属性详情</span><span style="color:#ff0000;">:</span><span style="color:#ff0000;">也可以直接在</span><span style="color:#ff0000;">U1</span><span style="color:#ff0000;">布局显示界面上点击选择组件</span></p> 
<p style="margin-left:0;text-align:justify;">B.UI快照管理:支持导出应用的UI界面为快照图片，并允许这些快照被导入回ArkUl lnspector中，便于离线分析或分享讨论UI设计方案</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.Ul</span><span style="color:#ff0000;">效果查看</span><span style="color:#ff0000;">:</span><span style="color:#ff0000;">开发者能够查看连接真机上运行的应用程序的</span><span style="color:#ff0000;">U</span><span style="color:#ff0000;">显示效果，页面组件树结构，以及选中组件的属性信息</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D.</span><span style="color:#ff0000;">性能监控</span><span style="color:#ff0000;">:</span><span style="color:#ff0000;">提供详细的</span><span style="color:#ff0000;">UI</span><span style="color:#ff0000;">渲染性能指标，帮助开发者识别布局瓶颈和渲染效率问题，从而优化应用性能</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">68、下面关于Node-API数据类型描述正确的是？(AC)</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A napi_env:</span><span style="color:#ff0000;">用于表示</span><span style="color:#ff0000;">Node-API</span><span style="color:#ff0000;">执行时的上下文</span></p> 
<p style="margin-left:0;text-align:justify;">B napi_threadsafe_function_cal_mode:该枚举类型定义了两个常量，用于指定在何时释放线程安全函数的回调函数</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C napi_status:</span><span style="color:#ff0000;">是一个枚举数据类型，表示</span><span style="color:#ff0000;">Node-API</span><span style="color:#ff0000;">接口返回的状态信息</span></p> 
<p style="margin-left:0;text-align:justify;">D napi_threadsafe_function_release_mode:该枚举类型定义了两个常量，用于指定线程安全函数的调用模式</p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">69、出于安全因素考虑，ArkTs不支持以下哪些语法？(ACD)</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A.new Function('a' , 'b', 'return a + b')</span></p> 
<p style="margin-left:0;text-align:justify;">B.Object.entries()</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C.eval()</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D.with()</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">70、项目组开发的Harmonyos应用工程，为了保护hap代码资产，如何在DevEcostudio中启用混淆的功能，并设置相应的混淆规则（CD）</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A</span><span style="color:#ff0000;">、在混淆规则配置文件</span><span style="color:#ff0000;">consumer-rules.txt</span><span style="color:#ff0000;">中进行混淆规则的配置</span></p> 
<p style="margin-left:0;text-align:justify;">B、release模式下将buildOption/arkOptions/ruleOptions/enable设置为false</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">C</span><span style="color:#ff0000;">、在混淆规则配置文件</span><span style="color:#ff0000;">obfuscation-rules.txt</span><span style="color:#ff0000;">中进行混淆规则的配置</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">D</span><span style="color:#ff0000;">、</span><span style="color:#ff0000;">release</span><span style="color:#ff0000;">模式下将</span><span style="color:#ff0000;">buildOption/arkOptions/ruleOptions/enable</span><span style="color:#ff0000;">设置为</span><span style="color:#ff0000;">true</span></p> 
<p style="margin-left:0;text-align:justify;"></p> 
<p style="margin-left:0;text-align:justify;">71、在ArkTS中,以下哪些声明类的方式是正确的(AB)</p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">A. class C1{ value: number =0;}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">B. class C2{<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value:number;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">constructor(value:number){<!-- --></span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">this.value=value;</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;"><span style="color:#ff0000;">}</span></p> 
<p style="margin-left:0;text-align:justify;">C. class C3{</p> 
<p style="margin-left:0;text-align:justify;">constructor(value:number){</p> 
<p style="margin-left:0;text-align:justify;">this.value=value;</p> 
<p style="margin-left:0;text-align:justify;">}</p> 
<p style="margin-left:0;text-align:justify;">D. class C4{ value:number; }</p>
                